#ifndef VIA_H
#define VIA_H

#include <QtCore>
#include <QtWidgets>

class Via : public QGraphicsItem
{
    QRectF firstLayerRect;
    QRectF contactRect;
    QRectF secondLayerRect;

public:
    qreal* scale;

    Via();

    QString viaType;

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    QRectF boundingRect() const;
};

#endif // VIA_H
